/*
 * @(#)ANSICodePoint.java	1.0 Apr 26, 2008
 *
 *	The MIT License
 *
 *	Copyright (c) 2008 Malachi de AElfweald <malachid@gmail.com>
 *
 *	Permission is hereby granted, free of charge, to any person obtaining a copy
 *	of this software and associated documentation files (the "Software"), to deal
 *	in the Software without restriction, including without limitation the rights
 *	to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 *	copies of the Software, and to permit persons to whom the Software is
 *	furnished to do so, subject to the following conditions:
 *
 *	The above copyright notice and this permission notice shall be included in
 *	all copies or substantial portions of the Software.
 *
 *	THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 *	IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 *	FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 *	AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 *	LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 *	OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 *	THE SOFTWARE.
 */
package org.eoti.io.charset.ansi;

/**
 * Information for this code page taken from the CP 437 documentation.
 * http://www.microsoft.com/globaldev/reference/oem/437.htm
 */
public enum ANSICodePoint
{
	Null(0, 0x0000),
	StartOfHeading(1, 0x0001),
	StartOfText(2,0x0002),
	EndOfText(3, 0x0003),
	EndOfTransmission(4, 0x0004),
	Enquiry(5, 0x0005),
	Acknowledge(6, 0x0006),
	Bell(7, 0x0007),
	Backspace(8, 0x0008),
	HorizontalTab(9, 0x0009),
	LineFeed(10, 0x000A),
	VerticalTab(11, 0x000B),
	FormFeed(12, 0x000C),
	CarriageReturn(13, 0x000D),
	ShiftOut(14, 0x000E),
	ShiftIn(15, 0x000F),
	DataLinkEscape(16, 0x0010),
	DeviceControlOne(17, 0x0011),
	DeviceControlTwo(18, 0x0012),
	DeviceControlThree(19, 0x0013),
	DeviceControlFour(20, 0x0014),
	NegativeAcknowledge(21, 0x0015),
	SynchronousIdle(22, 0x0016),
	EndOfTransmissionBlock(23, 0x0017),
	Cancel(24, 0x0018),
	EndOfMedium(25, 0x0019),
	Substitue(26, 0x001A),
	Escape(27, 0x001B),
	FileSeparator(28, 0x001C),
	GroupSeparator(29, 0x001D),
	RecordSeparator(30, 0x001E),
	UnitSeparator(31, 0x001F),
	Space(32, 0x0020),
	ExclamationMark(33, 0x0021),
	QuotationMark(34, 0x0022),
	NumberSign(35, 0x0023),
	DollarSign(36, 0x0024),
	PercentSign(37, 0x0025),
	Ampersand(38, 0x0026),
	Apostrophe(39, 0x0027),
	LeftParenthesis(40, 0x0028),
	RightParenthesis(41, 0x0029),
	Asterisk(42, 0x002A),
	PlusSign(43, 0x002B),
	Comma(44, 0x002C),
	HypenMinus(45, 0x002D),
	FullStop(46, 0x002E),
	Solidus(47, 0x002F),
	DigitZero(48, 0x0030),
	DigitOne(49, 0x0031),
	DigitTwo(50, 0x0032),
	DigitThree(51, 0x0033),
	DigitFour(52, 0x0034),
	DigitFive(53, 0x0035),
	DigitSize(54, 0x0036),
	DigitSeven(55, 0x0037),
	DigitEight(56, 0x0038),
	DigitNine(57, 0x0039),
	Colon(58, 0x003A),
	Semicolon(59, 0x003B),
	LessThanSign(60, 0x003C),
	EqualsSign(61, 0x003D),
	GreaterThanSign(62, 0x003E),
	QuestionMark(63, 0x003F),
	CommercialAt(64, 0x0040),
	LatinCapitalLetterA(65, 0x0041),
	LatinCapitalLetterB(66, 0x0042),
	LatinCapitalLetterC(67, 0x0043),
	LatinCapitalLetterD(68, 0x0044),
	LatinCapitalLetterE(69, 0x0045),
	LatinCapitalLetterF(70, 0x0046),
	LatinCapitalLetterG(71, 0x0047),
	LatinCapitalLetterH(72, 0x0048),
	LatinCapitalLetterI(73, 0x0049),
	LatinCapitalLetterJ(74, 0x004A),
	LatinCapitalLetterK(75, 0x004B),
	LatinCapitalLetterL(76, 0x004C),
	LatinCapitalLetterM(77, 0x004D),
	LatinCapitalLetterN(78, 0x004E),
	LatinCapitalLetterO(79, 0x004F),
	LatinCapitalLetterP(80, 0x0050),
	LatinCapitalLetterQ(81, 0x0051),
	LatinCapitalLetterR(82, 0x0052),
	LatinCapitalLetterS(83, 0x0053),
	LatinCapitalLetterT(84, 0x0054),
	LatinCapitalLetterU(85, 0x0055),
	LatinCapitalLetterV(86, 0x0056),
	LatinCapitalLetterW(87, 0x0057),
	LatinCapitalLetterX(88, 0x0058),
	LatinCapitalLetterY(89, 0x0059),
	LatinCapitalLetterZ(90, 0x005A),
	LeftSquareBracket(91, 0x005B),
	ReverseSolidus(92, 0x005C),
	RightSquareBracket(93, 0x005D),
	CircumflexAccent(94, 0x005E),
	LowLine(95, 0x005F),
	GraveAccent(96, 0x0060),
	LatinSmallLetterA(97, 0x0061),
	LatinSmallLetterB(98, 0x0062),
	LatinSmallLetterC(99, 0x0063),
	LatinSmallLetterD(100, 0x0064),
	LatinSmallLetterE(101, 0x0065),
	LatinSmallLetterF(102, 0x0066),
	LatinSmallLetterG(103, 0x0067),
	LatinSmallLetterH(104, 0x0068),
	LatinSmallLetterI(105, 0x0069),
	LatinSmallLetterJ(106, 0x006A),
	LatinSmallLetterK(107, 0x006B),
	LatinSmallLetterL(108, 0x006C),
	LatinSmallLetterM(109, 0x006D),
	LatinSmallLetterN(110, 0x006E),
	LatinSmallLetterO(111, 0x006F),
	LatinSmallLetterP(112, 0x0070),
	LatinSmallLetterQ(113, 0x0071),
	LatinSmallLetterR(114, 0x0072),
	LatinSmallLetterS(115, 0x0073),
	LatinSmallLetterT(116, 0x0074),
	LatinSmallLetterU(117, 0x0075),
	LatinSmallLetterV(118, 0x0076),
	LatinSmallLetterW(119, 0x0077),
	LatinSmallLetterX(120, 0x0078),
	LatinSmallLetterY(121, 0x0079),
	LatinSmallLetterZ(122, 0x007A),
	LeftCurlyBracket(123, 0x007B),
	VerticalLine(124, 0x007C),
	RightCurlyBracket(125, 0x007D),
	Tilde(126, 0x007E),
	Delete(127, 0x007F),
	LatinCapitalLetterCWithCedilla(128, 0x00C7),
	LatinSmallLetterUWithDiaeresis(129, 0x00FC),
	LatinSmallLetterEWithAcute(130, 0x00E9),
	LatinSmallLetterAWithCircumflex(131, 0x00E2),
	LatinSmallLetterAWithDiaeresis(132, 0x00E4),
	LatinSmallLetterAWithGrave(133, 0x00E0),
	LatinSmallLetterAWithRingAbove(134, 0x00E5),
	LatinSmallLetterCWithCedilla(135, 0x00E7),
	LatinSmallLetterEWithCircumflex(136, 0x00EA),
	LatinSmallLetterEWithDiaeresis(137, 0x00EB),
	LatinSmallLetterEWithGrave(138, 0x00E8),
	LatinSmallLetterIWithDiaeresis(139, 0x00EF),
	LatinSmallLetterIWithCircumflex(140, 0x00EE),
	LatinSmallLetterIWithGrave(141, 0x00EC),
	LatinCapitalLetterAWithDiaeresis(142, 0x00C4),
	LatinCapitalLetterAWithRingAbove(143, 0x00C5),
	LatinCapitalLetterEWithAcute(144, 0x00C9),
	LatinSmallLetterAE(145, 0x00E6),
	LatinCapitalLetterAE(146, 0x00C6),
	LatinSmallLetterOWithCircumflex(147, 0x00F4),
	LatinSmallLetterOWithDiaeresis(148, 0x00F6),
	LatinSmallLetterOWithGrave(149, 0x00F2),
	LatinSmallLetterUWithCircumflex(150, 0x00FB),
	LatinSmallLetterUWithGrave(151, 0x00F9),
	LatinSmallLetterYWithDiaeresis(152, 0x00FF),
	LatinCapitalLetterOWithDiaeresis(153, 0x00D6),
	LatinCapitalLetterUWithDiaeresis(154, 0x00DC),
	CentSign(155, 0x00A2),
	PoundSign(156, 0x00A3),
	YenSign(157, 0x00A5),
	PesetaSign(158, 0x20A7),
	LatinSmallLetterFWithHook(159, 0x0192),
	LatinSmallLetterAWithAcute(160, 0x00E1),
	LatinSmallLetterIWithAcute(161, 0x00ED),
	LatinSmallLetterOWithAcute(162, 0x00F3),
	LatinSmallLetterUWithAcute(163, 0x00FA),
	LatinSmallLetterNWithTilde(164, 0x00F1),
	LatinCapitalLetterNWithTilde(164, 0x00D1),
	FeminineOrdinalIndicator(166, 0x00AA),
	MasculineOrdinalIndicator(167, 0x00BA),
	InvertedQuestionMark(168, 0x00BF),
	ReverseNotSign(169, 0x2310),
	NotSign(170, 0x00AC),
	VulgarFractionOneHalf(171, 0x00BD),
	VulgarFractionOneQuarter(172, 0x00BC),
	InvertedExclamationMark(173, 0x00A1),
	LeftPointingDoubleAngleQuotationMark(174, 0x00AB),
	RightPointingDoubleAngleQuotationMark(175, 0x00BB),
	LightShade(176, 0x2591),
	MediumShade(177, 0x2592),
	DarkShade(178, 0x2593),
	LightVert(179, 0x2502),
	LightVertAndLeft(180, 0x2524),
	VertSingleAndLeftDouble(181, 0x2561),
	VertDoubleAndLeftSingle(182, 0x2562),
	DownDoubleAndLeftSingle(183, 0x2556),
	DownSingleAndLeftDouble(184, 0x2555),
	DoubleVertAndLeft(185, 0x2563),
	DoubleVert(186, 0x2551),
	DoubleDownAndLeft(187, 0x2557),
	DoubleUpAndLeft(188, 0x255D),
	UpDoubleAndLeftSingle(189, 0x255C),
	UpSingleAndLeftDouble(190, 0x255B),
	LightDownAndLeft(191, 0x2510),
	LightUpAndRight(192, 0x2514),
	LightUpAndHoriz(193, 0x2534),
	LightDownAndHoriz(194, 0x252C),
	LightVertAndRight(195, 0x251C),
	LightHoriz(196, 0x2500),
	LightVertAndHoriz(197, 0x253C),
	VertSingleAndRightDouble(198, 0x255E),
	VertDoubleAndRightSingle(199, 0x255F),
	DoubleUpAndRight(200, 0x255A),
	DoubleDownAndRight(201, 0x2554),
	DoubleUpAndHoriz(202, 0x2569),
	DoubleDownAndHoriz(203, 0x2566),
	DoubleVertAndRight(204, 0x2560),
	DoubleHoriz(205, 0x2550),
	DoubleVertAndHoriz(206, 0x256C),
	UpSingleAndHorizDouble(207, 0x2567),
	UpDoubleAndHorizSingle(208, 0x2568),
	DownSingleAndHorizDouble(209, 0x2564),
	DownDoubleAndHorizSingle(210, 0x2565),
	UpDoubleAndRightSingle(211, 0x2559),
	UpSingleAndRightDouble(212, 0x2558),
	DownSingleAndRightDouble(213, 0x2552),
	DownDoubleAndRightSingle(214, 0x2553),
	VertDoubleAndHorizSingle(215, 0x256B),
	VertSingleAndHorizDouble(216, 0x256A),
	LightUpAndLeft(217, 0x2518),
	LightDownAndRight(218, 0x250C),
	FullBlock(219, 0x2588),
	LowerHalfBlock(220, 0x2584),
	LeftHalfBlock(221, 0x258C),
	RightHalfBlock(222, 0x2590),
	UpperHalfBlock(223, 0x2580),
	GreekSmallLetterAlpha(224, 0x03B1),
	LatinSmallLetterSharpS(225, 0x00DF),
	GreekCapitalLetterGamma(226, 0x0393),
	GreekSmallLetterPi(227, 0x03C0),
	GreekCapitalLetterSigma(228, 0x03A3),
	GreekSmallLetterSigma(229, 0x03C3),
	MicroSign(230, 0x00B5),
	GreekSmallLetterTau(231, 0x03C4),
	GreekCapitalLetterPhi(232, 0x03A6),
	GreekCapitalLetterTheta(233, 0x0398),
	GreekCapitalLetterOmega(234, 0x03A9),
	GreekSmallLetterDelta(235, 0x03B4),
	Infinity(236, 0x221E),
	GreekSmallLetterPhi(237, 0x03C6),
	GreekSmallLetterEpsilon(238, 0x03B5),
	Intersection(239, 0x2229),
	IdenticalTo(240, 0x2261),
	PlusMinusSign(241, 0x00B1),
	GreaterThanOrEqualTo(242, 0x2265),
	LessThanOrEqualTo(243, 0x2264),
	TopHalfIntegral(244, 0x2320),
	BottomHalfIntegral(245, 0x2321),
	DivisionSign(246, 0x00F7),
	AlmostEqualTo(247, 0x2248),
	DegreeSign(248, 0x00B0),
	BulletOperator(249, 2219),
	MiddleDot(250, 0x00B7),
	SquareRoot(251, 0x221A),
	SuperscriptLatinSmallLetterN(252, 0x207F),
	SuperscriptTwo(253, 0x00B2),
	BlackSquare(254, 0x25A0),
	NoBreakSpace(255, 0x00A0);

	ANSICodePoint(int ansi, int unicode)
	{
		this.ansi = ansi;
		this.unicode = unicode;
	}
	protected int ansi, unicode;
	public int getANSI(){return ansi;}
	public int getUnicode(){return unicode;}
}
